import request from '@/utils/request'

// 根据ID查询详情数据
export function getInfoById(itemId) {
  return request({
    url: '/biz/item/07/getInfoById/' + itemId,
    method: 'get',
  })
}
// 1.IP暗噪声
export function darkNoise(data) {
  return request({
    url: '/biz/item/07/darkNoise',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 2.探测器剂量指示(DDI)
export function detectorDoseIndication(data) {
  return request({
    url: '/biz/item/07/detectorDoseIndication',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 3.IP响应均匀性、4.IP响应一致性
export function responseUniformityArtifact(data) {
  return request({
    url: '/biz/item/07/responseUniformityArtifact',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 5.IP响应线性
export function response(data) {
  return request({
    url: '/biz/item/07/response',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 6.测距误差
export function rangeError(data) {
  return request({
    url: '/biz/item/07/rangeError',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 7.IP擦除完全性
export function eraseCompleteness(data) {
  return request({
    url: '/biz/item/07/eraseCompleteness',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 8.高对比度分辨力
export function contrastResolutionHigh(data) {
  return request({
    url: '/biz/item/07/contrastResolutionHigh',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}
// 9.低对比度分辨力
export function contrastResolutionLow(data) {
  return request({
    url: '/biz/item/07/contrastResolutionLow',
    method: 'post',
    data,
    headers: {
      repeatSubmit: false,
    }
  })
}